<?php

// COPYRIGHT DawciuPotter.pl 2012
// ALL RIGHTS RESERVED

require_once "../maincore.php";

if(!iADMIN) redirect("../index.php");
require_once THEMES."templates/header.php";

$install = dbquery("CREATE TABLE IF NOT EXISTS `".DB_PREFIX."oazowicze` (
	`id` INT ( 10 ) AUTO_INCREMENT,
	`imie` VARCHAR ( 255 ) NOT NULL DEFAULT '',
	`nazwisko` VARCHAR ( 255 ) NOT NULL DEFAULT '',
	`urodziny` INT ( 10 ) NOT NULL DEFAULT '0',
	`odb_ranga` SMALLINT ( 1 ) NOT NULL DEFAULT '0',
	`ozk_ranga` SMALLINT ( 1 ) NOT NULL DEFAULT '0',
	`user_id` INT ( 10 ) DEFAULT '0',
	`zdjecie` VARCHAR ( 255 ) DEFAULT 'default.jpg',
	`plec` SMALLINT ( 1 ) NOT NULL DEFAULT '0',
	PRIMARY KEY(id))TYPE=MyISAM");

echo "zainstalowano";
	
require_once THEMES."templates/footer.php";
?>